cmake_minimum_required(VERSION 2.6)
project(HELLO)
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -D_DEBUG")
set(CMAKE_CXX_FLAGS_RELEASE "-O0 -DNDEBUG")
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_MULTITHREAD OFF)
set(Boost_DEBUG TRUE)
find_package(Boost REQUIRED COMPONENTS date_time system)
include_directories(${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
if (Boost_NOTFOUND)
	message(FATAL_ERROR "Boost not found")
endif()
set(HELLO_SRCS main.cpp)
add_executable(hello ${HELLO_SRCS})
target_link_libraries(hello ${Boost_LIBRARIES})

